import { DeviceList } from '@/api/Device'
export default {
    async GET_DEVICELIST({ commit, state }) {
        const result = await DeviceList().then(res => {
            const { code, data } = res
            if (code == 200) {
                commit('DEVICE_LIST', data.data)
            }
        })

    }
}